package com.yyplatform.admin.platform.message.model.entity;

import com.yyplatform.admin.infra.model.entity.BaseEntity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.Data;

@Data
@Entity
@Table(name = "sys_sms_his")
public class SysSmsHisEntity extends BaseEntity {

    @Column(name = "sms_template_id", nullable = false, columnDefinition = "bigint(20) COMMENT '短信配置ID'")
    private Long smsTemplateId;

    @Column(name = "sms_template_code", nullable = false, columnDefinition = "varchar(255) COMMENT '短信配置编码'")
    private String smsTemplateCode;

    @Column(name = "phone", nullable = false, columnDefinition = "varchar(255) COMMENT '手机号'")
    private String phone;

    @Column(name = "param1", nullable = false, columnDefinition = "varchar(255) COMMENT '参数1'")
    private String param1;

    @Column(name = "param2", nullable = false, columnDefinition = "varchar(255) COMMENT '参数2'")
    private String param2;

    @Column(name = "param3", nullable = false, columnDefinition = "varchar(255) COMMENT '参数3'")
    private String param3;

    @Column(name = "param4", nullable = false, columnDefinition = "varchar(255) COMMENT '参数4'")
    private String param4;

    @Column(name = "status", nullable = false, columnDefinition = "int(11) COMMENT '状态'")
    private Integer status;


}
